﻿<%@ Page Language="VB" MasterPageFile="~/msrGuest.master" AutoEventWireup="false" CodeFile="UC02-010.aspx.vb" Inherits="_111_UC02_010" %>
<asp:Content ID="ctUC02010" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script language="javascript" src="AJAX.js" type="text/javascript"></script>   
   <script language="javascript">
       function ClientValidate(ByVal source, ByVal arguments)
   {
      if ((arguments.length >= 5)
         arguments.IsValid=true;
           Else
         arguments.IsValid=false;
   }
       
   </script>    

   
      <h3>
          &nbsp;
      </h3>
      <p />
   
    <table style="width: 1px; height: 148px" id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
        <tr>
            <td style="width: 549px">
        
                &nbsp;&nbsp;<strong> </strong>&nbsp; &nbsp;<br />
                <table align="center" style="width: 525px">
                    <tr>
                        <td align="center" colspan="2">
                            <span style="font-size: 28px">
                    <strong style="font-family: 'Times New Roman'">Register your account<br />
                    </strong></span></td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2">
                            </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 192px">
                            <strong>Your invidual information</strong></td>
                        <td align="center">
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 192px">
                            Name:</td>
                        <td align="left">
                    <asp:TextBox ID="txtName" runat="server" Width="192px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                                ErrorMessage="*" Height="3px" Width="1px"></asp:RequiredFieldValidator><br />
                            <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Must be at least 5 characters" ClientValidationFunction="ClientValidate" ControlToValidate="txtName" Width="192px"></asp:CustomValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; width: 192px;">
                            Birthday:</td>
                        <td align="left" style="height: 26px">
                        <asp:DropDownList ID="ddlYear1" runat="server">
                            <asp:ListItem>1976</asp:ListItem>
                            <asp:ListItem>1977</asp:ListItem>
                            <asp:ListItem>1978</asp:ListItem>
                            <asp:ListItem>1979</asp:ListItem>
                            <asp:ListItem>1980</asp:ListItem>
                            <asp:ListItem>1981</asp:ListItem>
                            <asp:ListItem>1982</asp:ListItem>
                            <asp:ListItem>1983</asp:ListItem>
                            <asp:ListItem>1984</asp:ListItem>
                            <asp:ListItem>1985</asp:ListItem>
                            <asp:ListItem>1986</asp:ListItem>
                            <asp:ListItem>1987</asp:ListItem>
                            <asp:ListItem>1988</asp:ListItem>
                            <asp:ListItem>1989</asp:ListItem>
                            <asp:ListItem>1990</asp:ListItem>
                            <asp:ListItem>1991</asp:ListItem>
                            <asp:ListItem>1992</asp:ListItem>
                            <asp:ListItem>1993</asp:ListItem>
                        
                        </asp:DropDownList>
                       <asp:DropDownList ID="ddlMonth1" runat="server">
                            <asp:ListItem>01</asp:ListItem>
                            <asp:ListItem>02</asp:ListItem>
                            <asp:ListItem>03</asp:ListItem>
                            <asp:ListItem>04</asp:ListItem>
                            <asp:ListItem>05</asp:ListItem>
                            <asp:ListItem>06</asp:ListItem>
                            <asp:ListItem>07</asp:ListItem>
                            <asp:ListItem>08</asp:ListItem>
                            <asp:ListItem>09</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                       </asp:DropDownList>
                      
                            <asp:TextBox ID="txtDay" runat="server" Width="22px" MaxLength="2"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtDay"
                                ErrorMessage="*"></asp:RequiredFieldValidator><div id="IDDay"></div>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 30px; width: 192px;">
                            Genre:</td>
                        <td align="left" style="height: 30px">
                            <asp:RadioButtonList ID="optGenre" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Value="Male"></asp:ListItem>
                                <asp:ListItem Value="Female"></asp:ListItem>
                            </asp:RadioButtonList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="optGenre"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                            &nbsp;&nbsp;
                            </td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; width: 192px;">
                            Address:</td>
                        <td align="left" style="height: 26px">
                            <asp:TextBox ID="txtAddress" runat="server" Width="192px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 25px; width: 192px;">
                            Phone number</td>
                        <td align="left" style="height: 25px">
                            <asp:TextBox ID="txtPhone" runat="server" Width="192px"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtPhone"
                                ErrorMessage="Must be 10 digits" ValidationExpression="\d{10}"></asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; width: 192px;">
                            Email:</td>
                        <td align="left" style="height: 26px">
                            <asp:TextBox ID="txtMail" runat="server" Width="192px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtMail"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Invalid Entry" ControlToValidate="txtMail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; text-align: center; width: 192px;">
                            <strong>Your account's code:</strong></td>
                        <td align="left" style="height: 26px">
                            <asp:TextBox ID="txtCode" runat="server" Width="192px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtCode"
                                ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; text-align: center; width: 192px;">
                            <strong>
                    Your credit card information</strong></td>
                        <td align="left" style="height: 26px">
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; text-align: right; width: 192px;">
                            Owner:</td>
                        <td align="left" style="height: 26px">
                            <asp:TextBox ID="txtOwner" runat="server" Width="192px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="txtOwner"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; text-align: right; width: 192px;">
                            Type of card:</td>
                        <td align="left" style="height: 26px">
                            &nbsp;<asp:DropDownList ID="ddlType" runat="server">
                                <asp:ListItem Value="Master"></asp:ListItem>
                                <asp:ListItem Value="Visa"></asp:ListItem>
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlType"
                                ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; text-align: right; width: 192px;">
                            Card number:</td>
                        <td align="left" style="height: 26px">
                            <asp:TextBox ID="txtCardNumber" runat="server" Width="192px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtCardNumber"
                                ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 26px; text-align: right; width: 192px;">
                            Expire day:</td>
                        <td align="left" style="height: 26px">
                            <asp:TextBox ID="txtExp" runat="server" Width="192px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtExp"
                                ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2" style="height: 32px; text-align: center">
                            <asp:Button ID="btnSubmmit" runat="server" Font-Bold="True" Text="Summit" /></td>
                    </tr>
                </table>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
        </tr>
    </table>
    <br />
    <br />
    <br />
    <br />
    <br />

</asp:Content>